package effective_java.design_pattern.decorator;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 快餐抽象接口
 *
 * @author Verlet
 * @date 2023-09-06 01:16
 */
@Data
@AllArgsConstructor
public abstract class FastFood {
    private float price;

    private String desc;

    /**
     * 获取价格
     */
    public abstract float cost();
}
